// AWTTextComponentPeer.h: interface for the AWTTextComponentPeer class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_AWTTEXTCOMPONENTPEER_H__B42BD1FD_226C_4BEC_83B9_849D288B4122__INCLUDED_)
#define AFX_AWTTEXTCOMPONENTPEER_H__B42BD1FD_226C_4BEC_83B9_849D288B4122__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

interface AWTTextComponentPeer  
{
  virtual void getText(CString& text) = 0;
  virtual void setText(CString& text) = 0;
  virtual void setEditable(BOOL b) = 0;
  virtual int  getSelectionStart() = 0;
  virtual int  getSelectionEnd() = 0;
  virtual void select(int start, int end) = 0;
  virtual void setCaretPosition(int pos) = 0;
  virtual int  getCaretPosition() = 0;
};

#endif // !defined(AFX_AWTTEXTCOMPONENTPEER_H__B42BD1FD_226C_4BEC_83B9_849D288B4122__INCLUDED_)
